﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001525 RID: 5413
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class WorkbenchReforgeHexAvatarTargetInfo : IMessage<WorkbenchReforgeHexAvatarTargetInfo>, IMessage, IEquatable<WorkbenchReforgeHexAvatarTargetInfo>, IDeepCloneable<WorkbenchReforgeHexAvatarTargetInfo>, IBufferMessage
	{
		// Token: 0x17004432 RID: 17458
		// (get) Token: 0x0600F24F RID: 62031 RVA: 0x0028726D File Offset: 0x0028546D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<WorkbenchReforgeHexAvatarTargetInfo> Parser
		{
			get
			{
				return WorkbenchReforgeHexAvatarTargetInfo._parser;
			}
		}

		// Token: 0x17004433 RID: 17459
		// (get) Token: 0x0600F250 RID: 62032 RVA: 0x00287274 File Offset: 0x00285474
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return WorkbenchReforgeHexAvatarTargetInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004434 RID: 17460
		// (get) Token: 0x0600F251 RID: 62033 RVA: 0x00287286 File Offset: 0x00285486
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return WorkbenchReforgeHexAvatarTargetInfo.Descriptor;
			}
		}

		// Token: 0x0600F252 RID: 62034 RVA: 0x0028728D File Offset: 0x0028548D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchReforgeHexAvatarTargetInfo()
		{
		}

		// Token: 0x0600F253 RID: 62035 RVA: 0x00287295 File Offset: 0x00285495
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchReforgeHexAvatarTargetInfo(WorkbenchReforgeHexAvatarTargetInfo other) : this()
		{
			this.targetReforgeHexId_ = other.targetReforgeHexId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600F254 RID: 62036 RVA: 0x002872BA File Offset: 0x002854BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WorkbenchReforgeHexAvatarTargetInfo Clone()
		{
			return new WorkbenchReforgeHexAvatarTargetInfo(this);
		}

		// Token: 0x17004435 RID: 17461
		// (get) Token: 0x0600F255 RID: 62037 RVA: 0x002872C2 File Offset: 0x002854C2
		// (set) Token: 0x0600F256 RID: 62038 RVA: 0x002872CA File Offset: 0x002854CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint TargetReforgeHexId
		{
			get
			{
				return this.targetReforgeHexId_;
			}
			set
			{
				this.targetReforgeHexId_ = value;
			}
		}

		// Token: 0x0600F257 RID: 62039 RVA: 0x002872D3 File Offset: 0x002854D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as WorkbenchReforgeHexAvatarTargetInfo);
		}

		// Token: 0x0600F258 RID: 62040 RVA: 0x002872E1 File Offset: 0x002854E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(WorkbenchReforgeHexAvatarTargetInfo other)
		{
			return other != null && (other == this || (this.TargetReforgeHexId == other.TargetReforgeHexId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600F259 RID: 62041 RVA: 0x00287310 File Offset: 0x00285510
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.TargetReforgeHexId != 0U)
			{
				num ^= this.TargetReforgeHexId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600F25A RID: 62042 RVA: 0x0028734F File Offset: 0x0028554F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600F25B RID: 62043 RVA: 0x00287357 File Offset: 0x00285557
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600F25C RID: 62044 RVA: 0x00287360 File Offset: 0x00285560
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.TargetReforgeHexId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.TargetReforgeHexId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600F25D RID: 62045 RVA: 0x00287394 File Offset: 0x00285594
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.TargetReforgeHexId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.TargetReforgeHexId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600F25E RID: 62046 RVA: 0x002873D2 File Offset: 0x002855D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(WorkbenchReforgeHexAvatarTargetInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.TargetReforgeHexId != 0U)
			{
				this.TargetReforgeHexId = other.TargetReforgeHexId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600F25F RID: 62047 RVA: 0x00287403 File Offset: 0x00285603
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600F260 RID: 62048 RVA: 0x0028740C File Offset: 0x0028560C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.TargetReforgeHexId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005F9B RID: 24475
		private static readonly MessageParser<WorkbenchReforgeHexAvatarTargetInfo> _parser = new MessageParser<WorkbenchReforgeHexAvatarTargetInfo>(() => new WorkbenchReforgeHexAvatarTargetInfo());

		// Token: 0x04005F9C RID: 24476
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005F9D RID: 24477
		public const int TargetReforgeHexIdFieldNumber = 14;

		// Token: 0x04005F9E RID: 24478
		private uint targetReforgeHexId_;
	}
}
